package me.softwareengineer.guice.rendering.domain.search;

import me.softwareengineer.guice.rendering.domain.Element;

/**
 * Used by {@link Element} search methods to filter and find blocks
 * 
 * @author yadtahir
 * 
 */
public interface ElementMatcher {

	/**
	 * 
	 * @param element
	 *            the element to compare
	 * @return true if the provided element matches the current on. Otherwise,
	 *         false.
	 */
	boolean matcher(Element element);
}
